package demo6;
public class Test {

    public static void main(String[] args) {
        Dog dog = new Dog("大黑", 2, "白色");
        dog.bark();
    }

    public static void main2(String[] args) {
        Derived derived = new Derived();
        derived.method();
    }

    public static void main1(String[] args) {
        Dog dog = new Dog();

    }
}
